/* 社区管理模块 */
import {
    createAction,
  } from 'redux-actions'
  import {
    communityManage,
  } from 'api'
  import {
    createAjaxAction,
  } from 'utils'
  
  
  //举报列表基础数据
  export const report = createAjaxAction(
    communityManage.reportList,
  )
  //举报信息-删除
  export const reportDelete = createAjaxAction(
    communityManage.reportDeleteList,
  )
  //举报信息-隐藏
  export const reportHide = createAjaxAction(
    communityManage.reportHideList,
  )
  //评论列表-查询列表
  export const commentSelect = createAjaxAction(
    communityManage.commentSelectList,
  )
  //评论列表-评论显示隐藏
  export const commentShowOrHide = createAjaxAction(
    communityManage.commentShowOrHideList,
  )
  //评论列表-评论列表删除
  export const commentDelete = createAjaxAction(
    communityManage.commentDeleteList,
  )
  
  //帖子列表-基础数据查询
  export const contentSelect = createAjaxAction(
    communityManage.contentSelectList,
  )
  //帖子列表-删除
  export const contentDelete = createAjaxAction(
    communityManage.contentDeleteList,
  )
  //帖子列表-隐藏
  export const contentHide = createAjaxAction(
    communityManage.contentHideList,
  )

  //内容审核-审核
  export const contentAudit = createAjaxAction(
    communityManage.contentAuditList,
  )